package com.bwie.controller;

import com.bwie.pojo.Append;
import com.bwie.service.AppendService;
import com.bwie.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author : LeiMingkun
 * @date : 2024-08-06 16:03
 * @description : AppendController
 **/
@RestController
@RequestMapping("/append/append")
public class AppendController {
    @Resource
    private AppendService appendService;
    @RequestMapping("/getList")
    public R getList(){
        List<Append> list = appendService.list();
        return R.success(list);
    }
}